package cn.zch.soft.util.string.cut;

import cn.hutool.core.lang.Console;

public class CutString{
    public static void main(String[] args){
        String s = "Co-transfer55555";
        String s1 = "Co-udp5555";
        System.out.println(s1.substring(0,6) + " " + s1.length());
        System.out.println(s.substring(0,11) + "  " + s.length());
        Console.log("aaa");
        String testReplaceStr = "这是   一 段 代码 啊     ";
        Console.log(testReplaceStr.replace(" ",""));
        Console.log(testReplaceStr.replaceAll(" ",""));
        Console.log(testReplaceStr.trim());
    }
}
